//
//  Person.h
//  SDDataTest
//
//  Created by sodao on 12-9-19.
//  Copyright (c) 2012年 sodao. All rights reserved.
//

#import "FeedBase.h"
#define kEncodeField_showbeanQuantity   @"MC"
#define kEncodeField_charmQuantity      @"SC"

#define kEncodeField_userID             @"userId"
#define kEncodeField_nickName           @"nickName"
#define kEncodeField_headerURL          @"header"
#define kEncodeField_address            @"address"
#define kEncodeField_mariage            @"mariage"
#define kEncodeField_isBlack            @"isBlack"
#define kEncodeField_attention          @"attention"
#define kEncodeField_sex                @"sex"

#define kEncodeField_dayMC              @"dayMCUp"
#define kEncodeField_MonthMC            @"monthMC"

#define kEncodeField_attentionArray     @"attentionArray"
#define kEncodeField_fansArray          @"fansArray"
#define kEncodeField_favourArray        @"favourArray"
#define kEncodeField_showArray          @"showArray"

#define kEncodeField_attentionListNum   @"attentionNum"
#define kEncodeField_topicListNum       @"topicNum"
#define kEncodeField_favoutListNum      @"favourNum"
#define kEncodeField_blackListNum       @"blackNum"
#define kEncodeField_showListNum        @"showNum"
#define kEncodeField_fanListNum         @"fansNum"

typedef enum{
    LoveStatusSecurity,
    LoveStatusSingle,
    LoveStatusStuck,
    LoveStatusMarried,
    LoveStatusLost,
    LoveStatusMiss,
    LoveStatusSecretly,
    LoveStatusLonely,
    LoveStatusEmpty,
    LoveStatusBoring
}Mariage;
@interface Person : FeedBase<NSCoding>
{

}
@property (nonatomic)           BOOL                isSampleInfo;
@property (nonatomic, retain)   NSString*           userID;
@property (nonatomic, retain)   NSString*           nickName;
@property (nonatomic, retain)   NSString*           headerURL;
@property (nonatomic, retain)   NSString*           address;
@property (nonatomic)           int                 dayMCUp;
@property (nonatomic)           int                 monthMCUp;
@property (nonatomic,retain)    NSMutableArray      *attentionArray,*fansArray,*favourArray,*showArray;
@property (nonatomic)           Mariage             mariage;
@property (nonatomic)           BOOL                hasAttentioned,isBlacked;
@property (nonatomic)           NSInteger           sex;//
@property (nonatomic,retain)    NSNumber*   fanListNum,
                                            *attentionListNum,
                                            *topicListNum,
                                            *favoutListNum,
                                            *showListNum,
                                            *blackListNum;
@property (nonatomic,retain)    NSNumber    *charmQuantity,
                                            *showBeanQuantity;
-(id)initWithDictionary:(NSDictionary*)info isShort:(BOOL)shortInfo;
-(id)initWithData:(NSData*)data isShort:(BOOL)shortInfo;
-(void)updateInfoByDictionary:(NSDictionary*)dictionary;
-(void)updateInfoByData:(NSData*)data;
@end
